package chapter5.Example15;
import java.io.IOException;
public class Example15 {
    public static void main(String[] args) throws IOException {
        Runtime rt = Runtime.getRuntime(); // 创建Runtime实例对象
        rt.exec("notepad.exe"); // 调用exec（）方法
    }
}
